﻿
--添加人资出勤参数
CREATE proc [dbo].[proc_Employee_ZhiWu_Create_Pid]
(
	@title nvarchar(50)
)
 as
	insert into Employee_ZhiWu (Pid,Title,UpTime) values(0,@title,getdate())
	declare @newID int
	set @newID=(select @@IDENTITY)
	update Employee_ZhiWu set PxNum=@newID where Id=@newID
	

